package com.lu.statistics.common.config;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="返回结果包装对象")
public class ResponseModel<T> {
	@ApiModelProperty(value="返回码")
	private int code;
	@ApiModelProperty(value="返回对象")
	private T data;
	@ApiModelProperty(value="返回消息")
	private String msg;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
